package com.qianchang.microfinance.bean.event;

/**
 * Created by 电脑 on 2018/2/6.
 */

public class PhoneAuthEvent {

    private PhoneAuthStatue phoneAuthStatue;

    public PhoneAuthEvent(PhoneAuthStatue phoneAuthStatue){
        this.phoneAuthStatue = phoneAuthStatue;
    }

    public PhoneAuthStatue getPhoneAuthStatue() {
        return phoneAuthStatue;
    }

    public void setPhoneAuthStatue(PhoneAuthStatue phoneAuthStatue) {
        this.phoneAuthStatue = phoneAuthStatue;
    }

    public enum PhoneAuthStatue {
       PHONEAUTH_INITIALIZE(0), PHONEAUTH_START_CRAWLING(1),PHONEAUTH_LOGIN_SUS(2),PHONEAUTH_CRAWLING_SUS(3),PHONEAUTH_FAIL(4),PHONEAUTH_BACK_UI(5),PHONEAUTH_OPEN_ALIPAY(6);
        private int status;

        private PhoneAuthStatue(int status) {
            this.status = status;
        }

        public int getStatus() {
            return status;
        }
    }

}
